#!/bin/bash
lines=`ps -ef |grep -v grep| grep eds  |grep -c "conf="`
echo $lines
if [[ $lines -eq 1 ]];then
	echo log:`date "+%Y-%m-%d %H:%M:%S"`
	`/data1/eds/stop.sh`
	`/data1/eds/start.sh`
else 
	`/data1/eds/start.sh`
fi
